package com.zhanglijie.improve.atomic.three;

/**
 * @author zhanglijie
 * @version 1.0
 * @since 1.1.0 2022/9/6 0006 23:41
 */
public class Member {
    private int no;
    private String name;
    private int amount;

    public int getNo() {
        return no;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "Member{" + "no=" + no + ", name='" + name + '\'' + ", amount=" + amount + '}';
    }

    public int getAmount() {
        return amount;
    }

    public Member(int no, String name, int amount) {
        this.no = no;
        this.name = name;
        this.amount = amount;
    }
}
